package cn.edu.tju.se.auth.repository;

import cn.edu.tju.se.auth.enity.Orders;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface OrdersRepository extends JpaRepository<Orders, Integer> {
    public List<?> findByuserName(String name);

    public Orders findByid(Integer id);

    public void deleteById(Integer id);
}
